<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <c:if test="${sessionScope.login_admin_info != null }">
	<jsp:forward page="/admin/login/main.do"/>
</c:if> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>로그인</title>
<script type="text/javascript" src="/topgay_hong/script/jquery.js"></script>
<script type="text/javascript">
	function checkForm(form){
		if(!form.id.value){
			form.id.focus();
			return false;
		} else if(!form.password.value){
			form.password.focus();
			return false;
		}
	}
</script>
</head>
<body>
<h2>관리자</h2>
	<form action="/${initParam.context_root }/admin/login.do" method="post" onsubmit="return checkForm(this);">
	<!-- <form action="" method="post" onsubmit="return checkForm(this);"> -->
		아이디<input type="text" name="id" size="20"/><br/>
		비밀번호<input type="password" name="password" size="20"/><br/>
		<input type="submit" value="로그인"/>
	</form>
	<%-- <c:if test="${requestScope.error_msg != null }">
		<font color="red" size="2">${requestScope.error_msg }</font>
	</c:if> --%>
</body>
</html>